import httpAxios from '../utils/httpAxios';
export const getRightMessage = async() =>await httpAxios.get("/dev-api/sypt/answer/reply")
export const getAllList = async(params) =>await httpAxios.get("/dev-api/sypt/answer/list",{params})
export const getAskDetail = async (params) =>await httpAxios.get("/dev-api/sypt/answer/"+params)
// 详情页的个人信息
export const getAskListDetail = async (params) =>await httpAxios.get("/dev-api/sypt/reply/answerList",{params})
// 详情页的回答信息
export const deleteSave = async (params) => await httpAxios.delete("/dev-api/sypt/collection/delete",{params})
// 取消收藏
export const addSave = async (params) => await httpAxios.get("/dev-api/sypt/collection/add",{params})
// 收藏
export const addComment = async (params) => await httpAxios.post("/dev-api/sypt/answer/reply",params)
// 添加新的评论
export const alertPublish = async (params) => await httpAxios.post("/dev-api/sypt/answer",params)
// 弹框的发布
export const getMyAsk = async (params) => await httpAxios.get("/dev-api/sypt/answer/myAsk",{params})
// 获取我的问题列表
export const getMyAnswer = async (params) => await httpAxios.get("/dev-api/sypt/answer/myAnswer",{params})
// 获取我的答案列表
export const deleteAsk = async (params) => await httpAxios.delete("/dev-api/sypt/answer/delete",{params})
// 删除我的问题
export const selectAsk = async (params) => await httpAxios.get("/dev-api/sypt/answer/selectContextByAnswerId",{params})
// 找到我的问题的内容的主题
export const edmiteAsk = async (params) => await httpAxios.post("/dev-api/sypt/answer/update",params)
// 编辑我的问题
export const deleteAnswer = async (params) => await httpAxios.delete("/dev-api/sypt/reply/delete",{params})
// 删除我的答案
export const getANswerContext = async (params) => await httpAxios.get("/dev-api/sypt/reply/get",{params})
// 获取回答的答案